﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AFCEPF.BankApplication.BLL
{
    public interface ICommand<in T>
    {
        /// <summary>
        /// Executes the specified command on the target.
        /// </summary>
        /// <param name="target">The target.</param>
        void Execute(T target);
        /// <summary>
        /// Unexecutes the specified command on the target.
        /// </summary>
        /// <param name="target">The target.</param>
        void UnExecute(T target);
    }
}
